package com.starlight.flower_server.controller.exception;

import com.starlight.flower_server.infrastructure.Status;

/**
 * @Author yfy2001
 * @date 2023/4/9 10:58
 */
public class BadRequestException extends RuntimeException{

    private final Status status;

    public BadRequestException(String message,Status status){
        super(message);
        this.status=status;
    }

    public Status getStatus() {
        return status;
    }
}
